OpenHashSet.insertAnywhere

Inserts the given item into the set.

  1. bool insert(T item)
  2. alias put = insert
  3. alias insertAnywhere = insert
    struct OpenHashSet(T, Allocator = Mallocator, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T)
    alias insertAnywhere = insert
  4. bool opOpAssign(T item)

Return Value

true if the item was inserted, false if it was already present.

Meta